import Vue from 'vue'
import App from './App'
import message from '@/components/quick-message/quick-message.vue'
Vue.component('quick-message',message);
// import AllAddress from './commom/tools.js'
import {isHasRoleToAccess} from './commom/tools'
// import hasOneOfP from './commom/tools'

import goReg from '@/components/goReg.vue'
Vue.component('goReg',goReg);
import $http from './js_sdk/zhouWei-request/requestConfig';
Vue.prototype.$http = $http;
Vue.prototype.$isHasRoleToAccess = isHasRoleToAccess;
// Vue.prototype.$hasOneOfP = hasOneOfP;
Vue.config.productionTip = false
Vue.prototype.$wx_name = 'xt';
Vue.prototype.$APP_URL = 'https://ts.dxsjxzd.com/';
Vue.prototype.$FILE_URL = 'https://zzyf.dxsjxzd.com/';
App.mpType = 'app'

const app = new Vue({
    ...App,
})
app.$mount()
